package com.shenyue.label.web;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * ClassName: DemoController
 * Description:
 * Author: Shen_Yue
 * Date: 2023/4/21 1:08
 * History:
 * <author>          <time>          <version>          <desc>
 * Shen_Yue    2023/4/21 1:08   @Version 1.0        描述
 */
@RestController
public class DemoController {

    private static final Logger logger = LoggerFactory.getLogger(DemoController.class);

    @ResponseBody
    @PostMapping("/helloworld")
    public String helloWorld() {
        logger.info("hello world");
        return "hello world";
    }
}
